#include<iostream>
#include"TcpServer.hpp"  //处理io的

void Default(std::shared_ptr<Connection>connection)
{


    std::cout<<"上层得到数据："<<connection->InBuffer()<<std::endl;
    
}


int main()
{
    std::unique_ptr<TcpServer>sur(new TcpServer(4444));
    sur->Init();
    sur->Loop();
}